package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.skuItemVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;

/**
 * sku  Ϣ
 *
 * @author wansheng
 * @email 2060054181@gmail.com
 * @date 2024-10-13 19:39:10
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveskuinfo(SkuInfoEntity skuInfoEntity);

    PageUtils queryPageBycondition(Map<String, Object> params);

    List<SkuInfoEntity> getSksBySpuId(Long spuId);

    skuItemVo item(Long skuId) throws ExecutionException, InterruptedException;
}

